<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../../css/mui.css" rel="stylesheet" />
		<link href="../../css/header.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="../../fonticon/iconfont.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav title">
			<span class="mui-action-back nav mui-pull-left title-color" style="line-height: 44px; margin-left: 5px;">发现</span>
		</header>
		<div class="mui-content">
			<ul class="mui-table-view" style="margin: 0;">
				<li id="btn_circle_of_friends" class="mui-table-view-cell mui-media">
					<span class="mui-icon icon iconfont" style="font-size: 24px;">&#xe667;</span>
					<span style="margin-left: 10px; line-height: 24px;">朋友圈</span>
				</li>
			</ul>

			<br />

			<ul class="mui-table-view">
				<li id="btn_add_friends" class="mui-table-view-cell mui-media">
					<span class="mui-icon icon iconfont" style="font-size: 24px;">&#xe7aa;</span>
					<span style="margin-left: 10px; line-height: 24px;">添加好友</span>
				</li>
				<li id="btn_rich_scan" class="mui-table-view-cell mui-media">
					<span class="mui-icon icon iconfont" style="font-size: 24px;">&#xe611;</span>
					<span style="margin-left: 10px; line-height: 24px;">扫一扫</span>
				</li>
			</ul>

		</div>
		<script src="../../js/mui.js"></script>
		<script src="../../js/app.js"></script>
		<script type="text/javascript">
			mui.init();

			mui.plusReady(function() {

				var btn_circle_of_friends = document.getElementById("btn_circle_of_friends");
				btn_circle_of_friends.addEventListener("tap", function() {
					mui.alert('抱歉，该功能暂时未开放',' ','关闭',function (e) {
					   
					},'div')
				});

				var btn_add_friends = document.getElementById("btn_add_friends");
				btn_add_friends.addEventListener("tap", function() {
					mui.openWindow("search-friends.html", "search-friends.html");
				});

				var btn_rich_scan = document.getElementById("btn_rich_scan");
				btn_rich_scan.addEventListener("tap", function() {
					console.log(app.formatDate(new Date()) + ': [info]' + ' ======> [打开scanme.html页面...]');
					mui.openWindow("scanme.html", "scanme.html");
				});

			});
		</script>
	</body>

</html>
